package com.cby.library.common.network

import com.google.gson.annotations.SerializedName

data class BaseResponse<T>(
    @SerializedName("data")
    var data: T,
    @SerializedName("msg")
    var msg: String,
    @SerializedName("code")
    var code: Int
) {
    fun isSuccess() = code == 1000
}

